<?php
class CategoryModel extends Model
{
	var $_validate = array(
		array('name','require','分类名称必须！',MUST_TO_VALIDATE),
		array('slug','require','分类英文标识必须！',MUST_TO_VALIDATE)
	);
}
?>